/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <iostream>

using namespace std;

int main_55()
{
	int T,a,b;
	scanf("%d",&T);
	while (T--)
	{
        scanf("%d%d",&a,&b);
        printf("%d\n",a+b);
	}
	return 0;
}
